using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MonoTouch.Foundation;
using MonoTouch.UIKit;
using CoachingOrganizer.Logic.Models.Tools.EmotionsPack;
using CoachingOrganizer.iOS.Helpers;

namespace CoachingOrganizer.iOS.Controllers.Tools.EmotionsPack
{
    public partial class EmotionsPackViewController : UIViewController
    {
        private readonly EmotionsPackModel _model;

        public EmotionsPackViewController(EmotionsPackModel model)
            : base("EmotionsPackView", NSBundle.MainBundle)
        {
            _model = model;
        }

        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            //EmotionsPackNameView.Text = _model.NewTraceItemName; //TextField
        }

        partial void ShowDetails(NSObject sender)
        {
            UIHelper.ShowDetailsStoryboad<EmotionsPackDetailsViewController>("EmotionsPackDetailsView", ParentViewController, c => c.HookModel(_model));
        }
    }
}